#{extends 'main.html' /}
#{set title: 'page.app.home.title' /}

#{set 'moreTemplates'}
<script id="error-template" type="text/template">
	<div class="messages" style="background: red">
		<p><%= error.message %>
	</div>
</script>

<script id="list-template" type="text/template">
	<div class="actions">
	</div>
	<div class="filters">
	</div>
	<ul class="list">
	</ul>
	<div class="pagination">
		<ul style="white-space:nowrap;">
		<% for(page in pagination.range) { %>
			<li style="display:inline-block;"><a class="page" href="#/page/<%= pagination.range[page] %>" data-id="<%= pagination.range[page] %>"><%= pagination.range[page] %></a></li>
		<% } %>
		</ul>
		<span>Total:</span> <%= pagination.total ? pagination.total : 0 %>
	</div>
</script>

<script id="item-template" type="text/template">
<p><%= data.get("title") %> - (<%= data.get("content") %>)</p>
</script>
#{/set}

		
        <script type="text/javascript">
                
        $(document).ready(function(){
            var module = ideon.module("ideonTest");
           	var router = new module.Router.App();
            Backbone.history.start();
        });
        </script>
        
   
			<div id="content" class="estilo_inform estilo_intranet">
				
			</div>
   			

<script src="@{'/public/javascripts/ideonlab/ideon.js'}" type="text/javascript" charset="${_response_encoding}"></script>
<script src="@{'/public/javascripts/ideonlab/ideonTest.js'}" type="text/javascript" charset="${_response_encoding}"></script>

